package com.baibei.model;

import android.os.Parcel;
import android.os.Parcelable;

import java.io.Serializable;

/**
 * Created by shenminjie on 2017/10/19.
 * mail:shenminjie@100bei.com
 */

public class MarketStatusInfo implements Serializable, Parcelable {
    /**
     * 推送返回
     */
    private int status;

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    @Override
    public String toString() {
        return "MarketStatusInfo{" +
                "status=" + status +
                '}';
    }


    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeInt(this.status);
    }

    public MarketStatusInfo() {
    }

    protected MarketStatusInfo(Parcel in) {
        this.status = in.readInt();
    }

    public static final Parcelable.Creator<MarketStatusInfo> CREATOR = new Parcelable.Creator<MarketStatusInfo>() {
        @Override
        public MarketStatusInfo createFromParcel(Parcel source) {
            return new MarketStatusInfo(source);
        }

        @Override
        public MarketStatusInfo[] newArray(int size) {
            return new MarketStatusInfo[size];
        }
    };
}
